package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: liuaojun
 * @CreateTime: 2025-01-18
 * @Description:
 * @Version: 1.0
 */
@Controller
@RequestMapping("/ResponseData")
public class ResponseData {
    @GetMapping("/testResponseData")
    @ResponseBody
    public String testResponseData(){
        System.out.println("测试成功");
        return "{'key':'成功'}";
    }
}
